import { RouteRecordRaw } from "vue-router";

const userRoutes: RouteRecordRaw = {
	path: "/user",
	component: () => import("@/layout/index.vue"),
	meta: {
		title: "用户管理",
		icon: "User",
	},
	children: [
		{
			path: "list",
			name: "UserList",
			component: () => import("@/views/user/list/index.vue"),
			meta: {
				title: "用户列表",
				icon: "List",
			},
		},
	],
};

export default userRoutes;
